You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%20selectedopts.href%20+%20''' at line 1
" met query " SELECT id, parent_id, pagina_naam, link FROM info_paginas WHERE link = ''%20+%20selectedopts.href%20+%20''
"